linux ADB udev setup

2021-01-15 ยท 1 min read

    If you connect the device over USB and adb doesn't see it, this may be necessary. Make sure you try a few different USB cables first before reaching for this step.

    $ git clone --depth=1 https://github.com/M0Rf30/android-udev-rules.git
    $ sudo cp -v 51-android.rules /etc/udev/rules.d/
    $ sudo cp -v android-udev.conf /usr/lib/sysusers.d/
    $ sudo systemd-sysusers
    $ sudo gpasswd -a phlip9 adbusers
    $ sudo udevadm control --reload-rules
    $ sudo systemctl restart systemd-udevd.service
    $ adb kill-server